///////////////////////////////////////////////////////////
//  CharFactory.cpp
//  Implementation of the Class CharFactory
//  Created on:      18-fev-2007 15:52:57
///////////////////////////////////////////////////////////

#include "CharFactory.h"
#include "RMXPChar.h"
//#include "RM95Char.h"
//#include "RM2kChar.h"

CharFactory* CharFactory::_instance = NULL;

CharFactory::CharFactory()
{}

CharFactory::~CharFactory()
{}

Char* CharFactory::CreateRMXPChar()
{
	return new RMXPChar;
}

Char* CharFactory::CreateRM95Char()
{
	return new RMXPChar;
}

Char* CharFactory::CreateRM2kChar()
{
	return new RMXPChar;
}

CharFactory* CharFactory::Instance()
{
	if (!_instance)
		_instance = new CharFactory();
	return _instance;
}
